package com.frame.service.impl;

import com.frame.domain.City;
import com.frame.mapper.CityMapper;
import com.frame.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {
    @Autowired
    CityMapper cityMapper;

    @Override
    public List<City> getlist() {
        return cityMapper.getlist();
    }

    @Override
    public List<City> getlist1(Integer id) {
        return cityMapper.getlist1(id);
    }
}
